{% extends 'main_hub/base.html' %}

{% block title %}
{% endblock %}

{% block nav %}
    <div class="container">
        <ul class="nav nav-tabs">
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "user" %}active{% endifequal %}"
                   href="{% url 'user' %}?page_name=user&fav_type=video">个人中心</a>
            </li>
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "my_video" %}active{% endifequal %}"
                   href="{% url 'user_video' %}?page_name=my_video">我的视频</a>
            </li>
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "my_message" %}active{% endifequal %}"
                   href="{% url 'user_message' %}?page_name=my_message">我的消息</a>
            </li>
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "my_fav" %}active{% endifequal %}"
                   href="{% url 'user_fav' %}?page_name=my_fav">我的收藏</a>
            </li>
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "my_his" %}active{% endifequal %}"
                   href="{% url 'user_history' %}?page_name=my_his">观看历史</a>
            </li>
        </ul>
    </div>
{% endblock %}

{% block content %}
{% endblock %}

{% block custom_jss %}
{% endblock %}
